#include "Motors.h"


void main_start() _task_ 0{
	sys_init();
	
	os_create_task(1);
	os_create_task(2);
	
	os_delete_task(0);
}

void led_start() _task_ 1{
	while(1){
		LED_R = 1;
		LED_L = 1;
		os_wait2(K_TMO,200);
		LED_R = 0;
		LED_L = 0;
		os_wait2(K_TMO,200);
	}
}

void motors() _task_ 2{
	while(1){
		Motors_start();
		os_wait2(K_TMO,400);
		Motors_stop();
		os_wait2(K_TMO,200);
	}
}



